package com.naiterui.ehp.bs.recommend.repository.mysql;

import java.util.Collection;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bs.recommend.bean.DrStandardDiagnosis;


@Repository
public interface IDrStandardDiagnosisRepository extends BaseJpaRepository<DrStandardDiagnosis, Long> {

    DrStandardDiagnosis findFirstByName(String name);

    List<DrStandardDiagnosis> findByNameIn(Collection<String> names);

    List<DrStandardDiagnosis> findByIdIn(Collection<Long> ids);

}
